/**
 * 
 */
package com.curso.sesion9;

import java.io.Serializable;

/**
 * @author MATEUS
 *
 */
public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Singleton s = Singleton.getInstance(5);
		
		System.out.println(s);
		Singleton s2 = Singleton.getInstance(34565);
		System.out.println(s2);
		
		A a = new B();
		I1 i1 = new B();
		I2 i2 = new B();
		Serializable ser = new B();
		
	}

}
